<template>
  <i :class="'iconfont icon-'+name" :style="{color: color,fontSize: size +'px'}"></i>
</template>

<script>
  export default {
    name: 'Icons',
    props: {
      name: {
        default: ''
      },
      color: {
        default: false
      },
      size: {
        default: false
      }
    }
  }
</script>

<style lang="less" scoped>
  @import 'https://at.alicdn.com/t/font_882189_8xas2jnus4.css';
  @import './style.less';
</style>
